//后台的接口地址,q前后端交互
export const baseURL = 'http://localhost:8080';


//用户功能
export const userApi = {
  // 小精灵列表
  register: '/user/register',
  // 用户列表
  player: '/user/player',
  login: '/user/login',
  editinfo: '/user/editinfo',
  upload: '/media/upload',
}

export const mediaApi = {
  upload: '/media/upload',
}

//帖子功能
export const postApi = {
  creatPost: '/post/creatPost',
  allpost: '/post/allpost',
  getPost: '/post/getPost',
  addComment: '/post/addComment',
}

//上传功能
export const reportApi = {
  upload: '/report/upload',
  getReport: '/report/getReport',
  raised: '/report/raised',
  dispose: '/report/dispose',
  finish: '/report/finish',
  getmyRepored: '/report/getmyRepored',
  emergency: '/report/emergency',
}

//商店功能
export const shopApi = {
  list: '/shop/list',
  info: '/shop/info',
  buy: '/shop/buy',
}
